#ifndef __PLAYSTATE_H__
#define __PLAYSTATE_H__
#include <iostream>
#include "GameObject.h"
#include "GameState.h"
#include "SDLGameObject.h"
#include "Level.h"

class GameObject;
class PlayState: public GameState
{
    public:
        virtual void update();
        virtual void render();
        virtual bool onEnter();
        virtual bool onExit();

        virtual std::string getStateID() const { return s_playID; };
        
        bool checkCollision(SDLGameObject * player_1, SDLGameObject * player_2);
    private:
        static const std::string s_playID;
        Level * m_pLevel;
        std::vector<GameObject*> m_gameObjects;
};

#endif
